@extends('admin/layout/index')

@section('title')
	轮播添加
@endsection

@section('content')
	<div class="mws-panel grid_8">
    	<div class="mws-panel-header">
        	<span>轮播添加</span>
        </div>
        <div class="mws-panel-body no-padding">
        	<form class="mws-form" action="/admin/lunbo/insert" method="post" enctype="multipart/form-data">
        		{{ csrf_field() }}
        		<div class="mws-form-inline">
        			<div class="mws-form-row">
        				<label class="mws-form-label">轮播名称</label>
        				<div class="mws-form-item">
        					<input type="text" class="small" name="name" value="">
        				</div>
        			</div>
                    <div class="mws-form-row">
                        <label class="mws-form-label">轮播路径</label>
                        <div class="mws-form-item">
                            <input type="text" class="small" name="url" value="">
                        </div>
                    </div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">选择图片</label>
        				<div class="mws-form-item">
        					<input type="file" class="small" name="pic" value="">
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">状态</label>
        				<div class="mws-form-item clearfix">
        					<ul class="mws-form-list inline">
        						<li><input type="radio" name="status" value="1"> <label>开启</label></li>
        						<li><input type="radio" name="status" value="2" checked> <label>关闭</label></li>
        					</ul>
        				</div>
        			</div>
        		</div>
        		<div class="mws-button-row">
        			<input type="submit" value="提交" class="btn btn-danger">
        			<input type="reset" value="重置" class="btn ">
        		</div>
        	</form>
        </div>    	
    </div>
@endsection